package plan;

import java.io.Serializable;

public class TestPlan implements Serializable {
    //测试名称
    String name = "TestPlan";
    //线程数
    ThreadGroup threadGroup;
    //HTTP请求
    HttpRequest httpRequest;
    //查看结果
    Result result;
    //测试报告
    TestReport testReport;

    public TestPlan() {
    }

    public TestPlan(String name) {
        this.name = name;
    }

    public TestPlan(TestReport testReport) {
        this.testReport = testReport;
    }

    public TestPlan(String name, TestReport testReport) {
        this.name = name;
        this.testReport = testReport;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ThreadGroup getThreadGroup() {
        return threadGroup;
    }

    public void setThreadGroup(ThreadGroup threadGroup) {
        this.threadGroup = threadGroup;
    }

    public HttpRequest getHttpRequest() {
        return httpRequest;
    }

    public void setHttpRequest(HttpRequest httpRequest) {
        this.httpRequest = httpRequest;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public TestReport getTestReport() {
        return testReport;
    }

    public void setTestReport(TestReport testReport) {
        this.testReport = testReport;
    }
}
